package com.fd.service;

import com.fd.pojo.Products;

import java.util.List;

public interface CommodityService {
    //查询商品表
    List<Products>  selectAll();

    /**
     * 添加商品
     * @param pid
     * @param pname
     * @param price
     */
    boolean insertGoods(String pid,String cid, String pname,double price);

    boolean deleteGoodsByID(String pid);

    boolean modifyGood(Products products);
}
